@layout("/common/_container.html",{js:["/assets/fruits/fruitsBasicCustomer/fruitsBasicCustomer_edit.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="fruitsBasicCustomerForm" lay-filter="fruitsBasicCustomerForm" class="layui-form layui-form-pane" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>修改客户信息</legend>
			  	</fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">销售渠道<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="channelId" name="channelId" lay-filter="channelId" lay-verify="required" required>
                            @for(item in channellist!){
                            <option value="${item.id}">${item.channelName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">客户名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="customerName" name="customerName" placeholder="请输入客户名称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">客户地址<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="customerAddress" name="customerAddress" placeholder="请输入客户地址" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">联系人</label>
                    <div class="layui-input-block">
                        <input id="contacts" name="contacts" placeholder="请输入联系人" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">联系电话</label>
                    <div class="layui-input-block">
                        <input id="tel" name="tel" placeholder="请输入联系电话" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">销售平台</label>
                    <div class="layui-input-block">
                        <input id="channelPlatform" name="channelPlatform" placeholder="请输入销售平台" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">经营范围</label>
                    <div class="layui-input-block">
                        <input id="range" name="range" placeholder="请输入经营范围" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">行业类型</label>
                    <div class="layui-input-block">
                        <input id="industry" name="industry" placeholder="请输入行业类型" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属省份</label>
                    <div class="layui-input-block">
                        <input id="provinces" name="provinces" placeholder="请输入所属省份" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所在城市</label>
                    <div class="layui-input-block">
                        <input id="ciywhere" name="ciywhere" placeholder="请输入所在城市" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">开户行</label>
                    <div class="layui-input-block">
                        <input id="banks" name="banks" placeholder="请输入开户行" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">银行账号</label>
                    <div class="layui-input-block">
                        <input id="bankaccount" name="bankaccount" placeholder="请输入银行账号" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">社会统一信用代码</label>
                    <div class="layui-input-block">
                        <input id="creditcode" name="creditcode" placeholder="请输入社会统一信用代码" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">描述</label>
                    <div class="layui-input-block">
				        <textarea placeholder="请输入内容" class="layui-textarea" name="details"></textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}